class ShopItem {
  final String describe; //药店描述
  final String image;
  final String name;
  final num grade;
  final String phonenumber;
  final String address;
  final num iniDeliveryFee;
  final num deliveryFee;
  bool isCollect;

  ShopItem(
      {this.address,
      this.describe,
      this.phonenumber,
      this.grade,
      this.image,
      this.name,
      this.deliveryFee,
      this.iniDeliveryFee,
      this.isCollect});

  factory ShopItem.init(Map<String, dynamic> json) {
    return ShopItem(
        address: json['address'],
        image: json['picture'],
        name: json['name'],
        describe: json['See'],
        phonenumber: json['number'],
        grade: json['grade'],
        iniDeliveryFee: json['ini_delivery_fee'],
        isCollect: json['isCollect'],
        deliveryFee: json['delivery_fee']);
  }
}
